old_inventory = File.open('old_inventory.txt').readlines
new_inventory = File.open('new_inventory.txt').readlines

puts 'the following files have been added:'
puts new_inventory - old_inventory
puts ""
puts 'the following files have been deleted:'
puts old_inventory - new_inventory